//
//  ClassificationCollectionReusableView.m
//  BakeCenter
//
//  Created by 杨洋 on 15/9/23.
//  Copyright (c) 2015年 Baked. All rights reserved.
//

#import "ClassificationCollectionReusableView.h"

@implementation ClassificationCollectionReusableView
- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.headLabel = [[UILabel alloc] init];
        self.headLabel.backgroundColor = [UIColor whiteColor];
        self.headLabel.font = [UIFont systemFontOfSize:13];
        self.headLabel.textColor = [UIColor colorWithWhite:0.8 alpha:1];
        [self addSubview:self.headLabel];
        
        [self.headLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.mas_top).offset(10);
            make.left.equalTo(self.mas_left).offset(10);
            make.right.equalTo(self.mas_right).offset(-10);
            make.height.mas_equalTo(@30);
        }];
    }
    return self;
}
@end
